package com;

/**
 * Created with IntelliJ IDEA.
 * User: Lenovo
 * Date: 23.11.2012
 * Time: 11:25
 * To change this template use File | Settings | File Templates.
 */
public interface IToken
{
    /**
     * Sets the token code
     * @param tokenCode The token code
     */
    public abstract void setTokenCode(TokenCode tokenCode);

    /**
     * Gets the token code
     * @return The token code
     */
    public abstract TokenCode getTokenCode();

    /**
     * Set's the data type of the token.
     * @param dataType The data type
     */
    public abstract void setDataType(DataType dataType);


    public abstract DataType getDataType();


    public abstract void setDataValue(Object dataValue);



    public abstract Object getDataValue();


    public abstract void setSymbolTableEntry(SymbolTableEntry symTabEntry);


    public abstract SymbolTableEntry getSymbolTableEntry();


    public abstract String toString();


}
